package com.eds.feign;

import com.pojo.Course;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @ClassName：CourseFeign
 * @Author: vvSmile
 * @Date: 2025/04/03
 * @Description: 必须描述类做什么事情, 实现什么功能
 */
@FeignClient("eds-frontend-course")
public interface CourseFeign {
    @GetMapping("/courseController/selectAllCourseList")
    List<Course> selectAllCourseList();
}
